package cn.iocoder.yudao.module.crossborder.platform.controller.admin.platformcategorymapping.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 跨境电商平台分类映射分页 Request VO")
@Data
public class PlatformCategoryMappingPageReqVO extends PageParam {

    @Schema(description = "平台编号", example = "10774")
    private Long platformId;

    @Schema(description = "本地分类ID", example = "3538")
    private Long localCategoryId;

    @Schema(description = "本地分类名称", example = "芋艿")
    private String localCategoryName;

    @Schema(description = "平台分类ID", example = "2890")
    private String platformCategoryId;

    @Schema(description = "平台分类名称", example = "王五")
    private String platformCategoryName;

    @Schema(description = "平台分类路径")
    private String platformCategoryPath;

    @Schema(description = "映射级别（1一级 2二级 3三级等）")
    private Integer mappingLevel;

    @Schema(description = "映射置信度（0.00-1.00）")
    private BigDecimal mappingConfidence;

    @Schema(description = "是否自动映射")
    private Boolean isAutoMapped;

    @Schema(description = "映射规则JSON")
    private String mappingRule;

    @Schema(description = "状态（0正常 1停用）", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}